package com.guchenbo.example.boxing;

/**
 * Created by CreGu on 2016/6/11.
 */
public class BoxingTest {

    public void test(){
        Integer i1 = 100;
        Integer i2 = 100;
        int i = i1;

        System.out.println(i1 == i2);

        Integer i3 = 128;
        Integer i4 = 128;
        System.out.println(i3 == i4);

        int i5 = 200;
        int i6 = 200;
        System.out.println(i5 == i6);
    }
    public static void main(String[] args) {
        BoxingTest boxingTest=new BoxingTest();
        boxingTest.test();
    }
}
